//
//  TLPageViewConfiguration.swift
//  PageMenuCustom
//
//  Created by Charles on 2018/7/12.
//  Copyright © 2018 江苏天下网商科技有限公司. All rights reserved.
//

import UIKit

public class TLPageViewConfiguration {
    open var menuHeight : CGFloat = 34.0
    
    open var menuMargin : CGFloat = 10.0//每个item给里边内容预留的空间 即左右两侧都是  menuMargin/2
    open var menuItemMargin : CGFloat = 5.0//两个item的间距
    open var menuItemSelectedScale : CGFloat = 1.03//选中的item的放大比例
    open var TileViewCanScoll : Bool = true //是否禁止stitleView滚动 默认为否
    
    open var menuItemFont :UIFont = UIFont.systemFont(ofSize: 15)//默认状态下字体
    open var menuItemColor : UIColor = UIColor.black//默认字体颜色
    open var menuItemSelectedColor : UIColor = .red//选中字体颜色
    
    
    open var menuBottmonLineHeight : CGFloat = 2//下划线高度
    open var menuBottmonLineWidth : CGFloat = 0//下划线宽度  为0的时候和item字宽度一样
    open var menuBottomLineColor : UIColor = .red//下划线颜色

    
    open var leftItem :UIView? = nil
    open var rightItem : UIView? = nil
    
    
    open var separatorLineColor : UIColor = UIColor(red: 245 / 255.0, green: 245 / 255.0, blue: 245 / 255.0, alpha: 1)
    open var separatorLineHeight : CGFloat = 1
    open var menuBackgroundColor: UIColor = .white//item 底色
    
    public init() { }
}
